import request from '@/utils/request'

// 查询用户分配信息列表
export function listDealUserDistributionDetails(query) {
  return request({
    url: '/details/dealUserDistributionDetails/list',
    method: 'get',
    params: query
  })
}

// 查询用户分配信息详细
export function getDealUserDistributionDetails(id) {
  return request({
    url: '/details/dealUserDistributionDetails/' + id,
    method: 'get'
  })
}

// 保存用户分配信息
export function saveDealUserDistributionDetails(data) {
  return request({
    url: '/details/dealUserDistributionDetails/save',
    method: 'post',
    data: data
  })
}

// 删除用户分配信息
export function delDealUserDistributionDetails(id) {
  return request({
    url: '/details/dealUserDistributionDetails/' + id,
    method: 'delete'
  })
}

// 导出用户分配信息
export function exportDealUserDistributionDetails(query) {
  return request({
    url: '/details/dealUserDistributionDetails/export',
    method: 'get',
    params: query
  })
}
